package request

type DepartmentListRequest struct {
	PageRequest
	Name string `form:"name"`
}

type CreateDepartmentRequest struct {
	Name     string  `json:"name" binding:"required"`
	ParentID *uint   `json:"parent_id"`
	Icon     *string `json:"icon"`
}

type UpdateDepartmentRequest struct {
	Name     string  `json:"name" binding:"required"`
	ParentID *uint   `json:"parent_id"`
	Icon     *string `json:"icon"`
}
